<template>
<h1>布局组件</h1>

  <el-row :gutter>
    <el-col :span="6">测试数据</el-col>
    <el-col :span="6">测试数据</el-col>
    <el-col :span="6">测试数据</el-col>
    <el-col :span="6">测试数据</el-col>
  </el-row>
  <h3>两张图</h3>
  <el-row :gutter="10">
    <el-col :span="12"><img src="2024.png" style="width: 100%"></el-col>
    <el-col :span="12"><img src="2024.png" style="width: 100%"></el-col>
  </el-row>

  <h3>列偏移</h3>
  <el-row>
    <el-col :span="20" :offset="2"><img src="rich.jpg" ></el-col>
  </el-row>

  <h3>布局嵌套</h3>
  <el-row>
    <el-col :span="12" style="border: 3px solid #f00">左侧</el-col>
    <el-col :span="12">
      <el-row>
        <el-col :span="8" style="border: 3px solid #0f0">1</el-col>
        <el-col :span="8" style="border: 3px solid #00f">2</el-col>
        <el-col :span="8" style="border: 3px solid #ff0">3</el-col>
      </el-row>
    </el-col>

  </el-row>
</template>

<script setup>

</script>

<style scoped>

</style>